package com.sky.chainOfResponsibility.interceptor;



/**
 * Created by Tom.
 */
public class ValidateHandler extends Handler {
    @Override
    public void doHandler(Member member) {
        if( member.getLoginName()  != null    ||(
                 member.getLoginPass() !=null )  ){
            System.out.println("用户名和密码为空");
            return;
        }
        System.out.println("用户名和密码不为空，可以往下执行");
        next.doHandler(member);
    }
}
